@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}

.tab-button:hover {
  opacity: 0.8;
}

.tab-button.active {
  background-image: linear-gradient(to right, #0cdbb6, #1fd0f0);
  color: white;
  border-radius: 5px;
}

.settings html {
  scroll-behavior: smooth;
}

.settings body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  line-height: 1.6;
  background-size: 200% 200%;
  background-image: linear-gradient(45deg, #151A2D, #2D284D, #151A2D);
  animation: gradientBG 10s ease infinite;
}

.settings .landing {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh; /* Adjusted height */
  text-align: center;
}

.settings .landing h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.settings .landing p {
  font-size: 1.5rem;
  font-weight: 400;
  max-width: 500px;
  margin: auto;
  margin-bottom: 2rem;
}

.settings .container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
  transition: all .3s ease-in-out;
  max-height: 80vh; /* Fixed maximum height */
  overflow-y: auto; /* Enable scrolling if content overflows */
}

.settings .container:hover {
  transform: scale(1.01);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
}

.settings .static-container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-height: 80vh; /* Fixed maximum height */
  overflow-y: auto; /* Enable scrolling if content overflows */
}

.settings input, 
.settings select, 
.settings #output, 
.settings #reportContainer {
  background-color: rgba(0, 0, 0, 0.5); /* Darker background color */
  border: none;
  color: #fff; /* White text color */
  transition: all .3s ease-in-out;
}

.settings input:hover, 
.settings input:focus, 
.settings select:hover, 
.settings select:focus {
  background-color: #333; /* Darker hover/focus background color */
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.settings .btn-primary {
  background: linear-gradient(to right, #0062cc, #007bff);
  border: none;
  transition: all .3s ease-in-out;
}

.settings .btn-secondary {
  background: linear-gradient(to right, #6c757d, #6c757d);
  border: none;
  transition: all .3s ease-in-out;
}

.settings .btn:hover {
  opacity: 0.8;
  transform: scale(1.1);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.settings .agent_question {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: white; /* Clean white color for the dark background */
  letter-spacing: 0.01em;
}

.settings footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to right, #151A2D, #111827);
  color: white;
  text-align: center;
  padding: 10px 0;
}

.settings .margin-div {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
}

.settings .agent_response {
  background-color: #747d8c;
  margin: 10px;
  padding: 10px;
  border-radius: 12px;
}

.settings #output {
  height: 150px; /* Adjusted height */
  font-family: 'Times New Roman', Times, "Courier New", serif;
  overflow: auto;
  padding: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.settings #reportContainer {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  transition: all .3s ease-in-out;
  padding: 10px;
  border-radius: 12px;
}

/* refactoring inline css */
.settings .sayGoodbye {
  background-image: linear-gradient(to right, #9867F0, #ED4E50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.settings .form-group {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.settings .form-group label {
  flex: 1;
  margin-right: 1rem;
}

.settings .form-group input,
.settings .form-group select {
  flex: 2;
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.375rem; /* Rounded corners */
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: rgba(0, 0, 0, 0.5); /* Darker background color */
  color: #fff; /* White text color */
  transition: all 0.3s ease-in-out;
}

.settings .form-group input:hover,
.settings .form-group input:focus,
.settings .form-group select:hover,
.settings .form-group select:focus {
  background-color: #333; /* Darker hover/focus background color */
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.report_settings_static {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
}

.form-control-static {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  appearance: none; /* Remove default arrow */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1em;
  transition: all 0.2s ease-in-out;
}

.form-control-static:hover {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1);
}

.form-control-static:focus {
  outline: none;
  border-color: rgba(20, 184, 166, 0.8);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.form-control-static option {
  background-color: #1f2937;
  color: white;
  padding: 8px;
}

.input-static {
  flex: 1;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.button-static {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  background-color: #0d9488;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

.domain-tag-static {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background-color: #ede9fe;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  margin-right: 0.5rem;
}

.domain-text-static {
  color: #0d9488;
}

.domain-button-static {
  margin-left: 0.5rem;
  color: #9f7aea;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Add this after the existing .settings .agent_question rule */

.modal-content .agent_question {
  color: white;
  font-weight: 600;
  letter-spacing: 0.015em;
  margin-bottom: 0.2rem;
  display: block; /* Force block level for better spacing in the modal */
  position: relative;
}

/* Removing the ::after pseudo-element that created the gradient underline */

/* Adjust form-group styling in modal context */
.modal-content .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.modal-content .form-group label {
  margin-bottom: 0.5rem;
  margin-right: 0;
  width: 100%;
}

.modal-content .form-group select,
.modal-content .form-group input {
  width: 100%;
}